package com.itkim.judge.domain;

import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.serializer.ToStringSerializer;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

public class YzJudgeRes extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 评价唯一标识 */
    @JsonFormat(shape = JsonFormat.Shape.STRING) //把Long类型转为String类型传输给前端
    @JSONField(serializeUsing = ToStringSerializer.class)
    private Long judgeId;

    /** 外键，主表是yz_user */
    @JsonFormat(shape = JsonFormat.Shape.STRING) //把Long类型转为String类型传输给前端
    @JSONField(serializeUsing = ToStringSerializer.class)
    private Long userId;

    /** 外键，主表是yz_work */
    @JsonFormat(shape = JsonFormat.Shape.STRING) //把Long类型转为String类型传输给前端
    @JSONField(serializeUsing = ToStringSerializer.class)
    private Long workId;

    @Excel(name = "参赛人")
    private String entrantName;

    @Excel(name = "报名组别")
    private String group;

    @Excel(name = "学校")
    private String school;

    @Excel(name = "作品名称")
    private String workName;

    @Excel(name = "评委姓名")
    private String name;

    public String getEntrantName() {
        return entrantName;
    }

    public void setEntrantName(String entrantName) {
        this.entrantName = entrantName;
    }

    public String getGroup() {
        return group;
    }

    public void setGroup(String group) {
        this.group = group;
    }

    public String getSchool() {
        return school;
    }

    public void setSchool(String school) {
        this.school = school;
    }

    public String getWorkName() {
        return workName;
    }

    public void setWorkName(String workName) {
        this.workName = workName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /** 教学实施 */
    @Excel(name = "教学实施")
    private Double judgeTeach;

    /** 教案 */
    @Excel(name = "教案")
    private Double judgePlan;

    /** 视频资料 */
    @Excel(name = "视频资料")
    private Double judgeVideo;

    /** 专业人才培养方案 */
    @Excel(name = "专业人才培养方案")
    private Double judgePro;

    /** 课程标准 */
    @Excel(name = "课程标准")
    private Double judgeCourse;

    /** 教材选用 */
    @Excel(name = "教材选用")
    private Double judgeSelect;

    /** 得分 */
    @Excel(name = "得分")
    private Double score;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "评分时间",dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    public void setJudgeId(Long judgeId)
    {
        this.judgeId = judgeId;
    }

    public Long getJudgeId()
    {
        return judgeId;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setWorkId(Long workId)
    {
        this.workId = workId;
    }

    public Long getWorkId()
    {
        return workId;
    }
    public void setJudgeTeach(Double judgeTeach)
    {
        this.judgeTeach = judgeTeach;
    }

    public Double getJudgeTeach()
    {
        return judgeTeach;
    }
    public void setJudgePlan(Double judgePlan)
    {
        this.judgePlan = judgePlan;
    }

    public Double getJudgePlan()
    {
        return judgePlan;
    }
    public void setJudgeVideo(Double judgeVideo)
    {
        this.judgeVideo = judgeVideo;
    }

    public Double getJudgeVideo()
    {
        return judgeVideo;
    }
    public void setJudgePro(Double judgePro)
    {
        this.judgePro = judgePro;
    }

    public Double getJudgePro()
    {
        return judgePro;
    }
    public void setJudgeCourse(Double judgeCourse)
    {
        this.judgeCourse = judgeCourse;
    }

    public Double getJudgeCourse()
    {
        return judgeCourse;
    }
    public void setJudgeSelect(Double judgeSelect)
    {
        this.judgeSelect = judgeSelect;
    }

    public Double getJudgeSelect()
    {
        return judgeSelect;
    }
    public void setScore(Double score)
    {
        this.score = score;
    }

    public Double getScore()
    {
        return score;
    }
}
